luci-app-opkg: replace css class right with css class button-row
authorFlorian Eckert <[email protected]>
Fri, 7 Jun 2024 10:51:57 +0000 (12:51 +0200)
committerFlorian Eckert <[email protected]>
Tue, 9 Jul 2024 14:19:51 +0000 (16:19 +0200)
Signed-off-by: Florian Eckert <[email protected]>
applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js

index bb21cca687802dac72d115cd46f274bd422c358c..053d74729f151b902255b3a35553a92287f813f3 100644 (file)
@@ -886,7 +886,7 @@ function handleConfig(ev)
                        }, '%h'.format(conf[file])));
                });
 
-               body.push(E('div', { 'class': 'right' }, [
+               body.push(E('div', { 'class': 'button-row' }, [
                        E('div', {
                                'class': 'btn cbi-button-neutral',
                                'click': ui.hideModal
@@ -1012,7 +1012,7 @@ function handleOpkg(ev)
                        if (res.code !== 0)
                                dlg.appendChild(E('p', _('The <em>opkg %h</em> command failed with code <code>%d</code>.').format(cmd, (res.code & 0xff) || -1)));
 
-                       dlg.appendChild(E('div', { 'class': 'right' },
+                       dlg.appendChild(E('div', { 'class': 'button-row' },
                                E('div', {
                                        'class': 'btn',
                                        'click': L.bind(function(res) {